const percentageElement = document.querySelector(".container");
const main = document.querySelector(".main");
// percentageElement.style.filter = "blur(100px)";
let percentage = 0;

const interval = setInterval(() => {
  percentage++;
  percentageElement.textContent = `${percentage}%`;
  if (percentage == 50) {
    main.style.filter = "blur(0px)";
    percentageElement.style.opacity = 0;
  }
  if (percentage >= 100) {
    clearInterval(interval);
    percentageElement.style.display = "none";
  }
}, 50); // 每1
